Key Features¶
You can try out leafmap by using Goolge Colab or Binder without having to install anything on your computer.
Install leafmap¶
In [1]:
Copied!
import os
import subprocess
import os
import subprocess
In [2]:
Copied!
try:
import leafmap
except ImportError:
print('Installing leafmap ...')
subprocess.check_call(["python", '-m', 'pip', 'install', 'leafmap'])
try:
import leafmap
except ImportError:
print('Installing leafmap ...')
subprocess.check_call(["python", '-m', 'pip', 'install', 'leafmap'])
Use ipyleaflet plotting backend¶
In [3]:
Copied!
import leafmap.foliumap as leafmap
import leafmap.foliumap as leafmap
Use folium plotting backend¶
In [4]:
Copied!
import leafmap
import leafmap
Create an interactive map¶
In [5]:
Copied!
m = leafmap.Map(center=(40, -100), zoom=4)
m
m = leafmap.Map(center=(40, -100), zoom=4)
m
Out[5]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Customize map height¶
In [6]:
Copied!
m = leafmap.Map(height="400px", width="800px")
m
m = leafmap.Map(height="400px", width="800px")
m
Out[6]:
Set control visibility¶
In [7]:
Copied!
m = leafmap.Map(draw_control=False, measure_control=False, fullscreen_control=False, attribution_control=True)
m
m = leafmap.Map(draw_control=False, measure_control=False, fullscreen_control=False, attribution_control=True)
m
Out[7]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Change basemaps¶
In [8]:
Copied!
m = leafmap.Map()
m.add_basemap("Esri.NatGeoWorldMap")
m
m = leafmap.Map()
m.add_basemap("Esri.NatGeoWorldMap")
m
Out[8]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add XYZ tile layer¶
In [9]:
Copied!
m = leafmap.Map()
m.add_tile_layer(url="https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}", name="Google Satellite", attribution="Google")
m
m = leafmap.Map()
m.add_tile_layer(url="https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}", name="Google Satellite", attribution="Google")
m
Out[9]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add WMS tile layer¶
In [10]:
Copied!
m = leafmap.Map()
naip_url = 'https://services.nationalmap.gov/arcgis/services/USGSNAIPImagery/ImageServer/WMSServer?'
m.add_wms_layer(url=naip_url, layers='0', name='NAIP Imagery', format='image/png', shown=True)
m
m = leafmap.Map()
naip_url = 'https://services.nationalmap.gov/arcgis/services/USGSNAIPImagery/ImageServer/WMSServer?'
m.add_wms_layer(url=naip_url, layers='0', name='NAIP Imagery', format='image/png', shown=True)
m
Out[10]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add COG layer¶
In [11]:
Copied!
m = leafmap.Map()
url = 'https://opendata.digitalglobe.com/events/california-fire-2020/pre-event/2018-02-16/pine-gulch-fire20/1030010076004E00.tif'
m.add_cog_layer(url, name="Fire (pre-event)")
m
m = leafmap.Map()
url = 'https://opendata.digitalglobe.com/events/california-fire-2020/pre-event/2018-02-16/pine-gulch-fire20/1030010076004E00.tif'
m.add_cog_layer(url, name="Fire (pre-event)")
m
Out[11]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add STAC layer¶
In [12]:
Copied!
m = leafmap.Map()
url = 'https://canada-spot-ortho.s3.amazonaws.com/canada_spot_orthoimages/canada_spot5_orthoimages/S5_2007/S5_11055_6057_20070622/S5_11055_6057_20070622.json'
m.add_stac_layer(url, bands=['B3', 'B2', 'B1'], name='False color')
m
m = leafmap.Map()
url = 'https://canada-spot-ortho.s3.amazonaws.com/canada_spot_orthoimages/canada_spot5_orthoimages/S5_2007/S5_11055_6057_20070622/S5_11055_6057_20070622.json'
m.add_stac_layer(url, bands=['B3', 'B2', 'B1'], name='False color')
m
Out[12]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add legend¶
In [13]:
Copied!
m = leafmap.Map()
url = "https://www.mrlc.gov/geoserver/mrlc_display/NLCD_2016_Land_Cover_L48/wms?"
m.add_wms_layer(url, layers="NLCD_2016_Land_Cover_L48", name="NLCD 2016 CONUS Land Cover",format="image/png", transparent=True)
m.add_legend(builtin_legend='NLCD')
m
m = leafmap.Map()
url = "https://www.mrlc.gov/geoserver/mrlc_display/NLCD_2016_Land_Cover_L48/wms?"
m.add_wms_layer(url, layers="NLCD_2016_Land_Cover_L48", name="NLCD 2016 CONUS Land Cover",format="image/png", transparent=True)
m.add_legend(builtin_legend='NLCD')
m
Out[13]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add colorbar¶
In [14]:
Copied!
m = leafmap.Map()
m.add_basemap('USGS 3DEP Elevation')
colors = ['006633', 'E5FFCC', '662A00', 'D8D8D8', 'F5F5F5']
vmin = 0
vmax = 4000
m.add_colorbar(colors=colors, vmin=vmin, vmax=vmax)
m
m = leafmap.Map()
m.add_basemap('USGS 3DEP Elevation')
colors = ['006633', 'E5FFCC', '662A00', 'D8D8D8', 'F5F5F5']
vmin = 0
vmax = 4000
m.add_colorbar(colors=colors, vmin=vmin, vmax=vmax)
m
Out[14]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add GeoJSON¶
In [15]:
Copied!
m = leafmap.Map(center=[0, 0], zoom=2)
in_geojson = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/cable-geo.geojson'
m.add_geojson(in_geojson, layer_name="Cable lines")
m
m = leafmap.Map(center=[0, 0], zoom=2)
in_geojson = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/cable-geo.geojson'
m.add_geojson(in_geojson, layer_name="Cable lines")
m
Out[15]:
Make this Notebook Trusted to load map: File -> Trust Notebook
In [16]:
Copied!
# Add a GeoJSON with random filled color to the map.
m = leafmap.Map(center=[0, 0], zoom=2)
url = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/countries.geojson"
m.add_geojson(url, layer_name="Countries", fill_colors=['red', 'yellow', 'green', 'orange'])
m
# Add a GeoJSON with random filled color to the map.
m = leafmap.Map(center=[0, 0], zoom=2)
url = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/countries.geojson"
m.add_geojson(url, layer_name="Countries", fill_colors=['red', 'yellow', 'green', 'orange'])
m
Out[16]:
Make this Notebook Trusted to load map: File -> Trust Notebook
In [17]:
Copied!
# Use custom style and hover_style functions.
m = leafmap.Map(center=[0, 0], zoom=2)
url = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/countries.geojson"
style = {
"stroke": True,
"color": "#0000ff",
"weight": 2,
"opacity": 1,
"fill": True,
"fillColor": "#0000ff",
"fillOpacity": 0.1,
}
hover_style = {"fillOpacity": 0.7}
m.add_geojson(url, layer_name="Countries", style=style, hover_style=hover_style)
m
# Use custom style and hover_style functions.
m = leafmap.Map(center=[0, 0], zoom=2)
url = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/countries.geojson"
style = {
"stroke": True,
"color": "#0000ff",
"weight": 2,
"opacity": 1,
"fill": True,
"fillColor": "#0000ff",
"fillOpacity": 0.1,
}
hover_style = {"fillOpacity": 0.7}
m.add_geojson(url, layer_name="Countries", style=style, hover_style=hover_style)
m
Out[17]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add shapefile¶
In [18]:
Copied!
m = leafmap.Map(center=[0, 0], zoom=2)
in_shp = 'https://github.com/giswqs/leafmap/raw/master/examples/data/countries.zip'
m.add_shp(in_shp, layer_name="Countries")
m
m = leafmap.Map(center=[0, 0], zoom=2)
in_shp = 'https://github.com/giswqs/leafmap/raw/master/examples/data/countries.zip'
m.add_shp(in_shp, layer_name="Countries")
m
Out[18]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add KML¶
In [19]:
Copied!
try:
import geopandas
except ImportError:
print('Installing geopandas ...')
subprocess.check_call(["python", '-m', 'pip', 'install', 'geopandas'])
try:
import geopandas
except ImportError:
print('Installing geopandas ...')
subprocess.check_call(["python", '-m', 'pip', 'install', 'geopandas'])
In [20]:
Copied!
m = leafmap.Map()
in_kml = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us-states.kml'
m.add_kml(in_kml,layer_name="US States KML")
m
m = leafmap.Map()
in_kml = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/us-states.kml'
m.add_kml(in_kml,layer_name="US States KML")
m
Out[20]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add GeoDataFrame¶
In [21]:
Copied!
import geopandas as gpd
m = leafmap.Map()
gdf = gpd.read_file("https://github.com/giswqs/leafmap/raw/master/examples/data/cable-geo.geojson")
m.add_gdf(gdf, layer_name="Cable lines")
m
import geopandas as gpd
m = leafmap.Map()
gdf = gpd.read_file("https://github.com/giswqs/leafmap/raw/master/examples/data/cable-geo.geojson")
m.add_gdf(gdf, layer_name="Cable lines")
m
Out[21]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Create heat map¶
In [22]:
Copied!
m = leafmap.Map()
in_csv = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/world_cities.csv"
m.add_heatmap(in_csv, latitude="latitude", longitude='longitude', value="pop_max", name="Heat map", radius=20)
m = leafmap.Map()
in_csv = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/world_cities.csv"
m.add_heatmap(in_csv, latitude="latitude", longitude='longitude', value="pop_max", name="Heat map", radius=20)
In [23]:
Copied!
colors = ['blue', 'lime', 'red']
vmin = 0
vmax = 10000
m.add_colorbar(colors=colors, vmin=vmin, vmax=vmax)
m.add_title("World Population Heat Map", font_size="20px", align="center")
m
colors = ['blue', 'lime', 'red']
vmin = 0
vmax = 10000
m.add_colorbar(colors=colors, vmin=vmin, vmax=vmax)
m.add_title("World Population Heat Map", font_size="20px", align="center")
m
Out[23]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Save map to HTML¶
In [24]:
Copied!
m = leafmap.Map()
m.add_basemap("Esri.NatGeoWorldMap")
m
m = leafmap.Map()
m.add_basemap("Esri.NatGeoWorldMap")
m
Out[24]:
Make this Notebook Trusted to load map: File -> Trust Notebook
In [25]:
Copied!
m.to_html("mymap.html")
m.to_html("mymap.html")
Add Planet imagery¶
In [26]:
Copied!
# os.environ["PLANET_API_KEY"] = "12345"
# os.environ["PLANET_API_KEY"] = "12345"
In [27]:
Copied!
m = leafmap.Map()
m.add_planet_by_month(year=2020, month=8)
m.add_planet_by_quarter(year=2019, quarter=2)
m
m = leafmap.Map()
m.add_planet_by_month(year=2020, month=8)
m.add_planet_by_quarter(year=2019, quarter=2)
m
Out[27]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add OpenStreetMap data¶
Add OSM data of place(s) by name or ID to the map.
In [28]:
Copied!
m = leafmap.Map(toolbar_control=False, layers_control=True)
m.add_osm_from_geocode("New York City", layer_name='NYC')
m
m = leafmap.Map(toolbar_control=False, layers_control=True)
m.add_osm_from_geocode("New York City", layer_name='NYC')
m
Out[28]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Add OSM entities within boundaries of geocodable place(s) to the map.
In [29]:
Copied!
m = leafmap.Map(toolbar_control=False, layers_control=True)
place = "Bunker Hill, Los Angeles, California"
tags = {"building": True}
m.add_osm_from_place(place, tags, layer_name="Los Angeles, CA")
m
m = leafmap.Map(toolbar_control=False, layers_control=True)
place = "Bunker Hill, Los Angeles, California"
tags = {"building": True}
m.add_osm_from_place(place, tags, layer_name="Los Angeles, CA")
m
2022-01-22 20:13:16 Configured OSMnx 1.1.2 2022-01-22 20:13:16 HTTP response caching is on 2022-01-22 20:13:16 Pausing 1 seconds before making HTTP GET request 2022-01-22 20:13:17 Get https://nominatim.openstreetmap.org/search?format=json&polygon_geojson=1&dedupe=0&limit=50&q=Bunker+Hill%2C+Los+Angeles%2C+California with timeout=180 2022-01-22 20:13:17 Resolved nominatim.openstreetmap.org to 140.211.167.100 2022-01-22 20:13:18 Downloaded 1.2kB from nominatim.openstreetmap.org 2022-01-22 20:13:18 Saved response to cache file "cache/8d8366ad6b96fa854a9d6d038c022b8bdcdb6fe6.json" 2022-01-22 20:13:18 Created GeoDataFrame with 1 rows from 1 queries 2022-01-22 20:13:18 Constructed place geometry polygon(s) to query API 2022-01-22 20:13:18 Projected GeoDataFrame to +proj=utm +zone=11 +ellps=WGS84 +datum=WGS84 +units=m +no_defs +type=crs 2022-01-22 20:13:18 Projected GeoDataFrame to epsg:4326 2022-01-22 20:13:18 Requesting data within polygon from API in 1 request(s) 2022-01-22 20:13:18 Resolved overpass-api.de to 178.63.48.217 2022-01-22 20:13:18 Pausing 0 seconds before making HTTP POST request 2022-01-22 20:13:18 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%3B%28%28node%5B%27building%27%5D%28poly%3A%2734.056122+-118.256052+34.054233+-118.253149+34.050990+-118.248100+34.053625+-118.245628+34.058656+-118.253434+34.057132+-118.255014+34.056122+-118.256052%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%28way%5B%27building%27%5D%28poly%3A%2734.056122+-118.256052+34.054233+-118.253149+34.050990+-118.248100+34.053625+-118.245628+34.058656+-118.253434+34.057132+-118.255014+34.056122+-118.256052%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%28relation%5B%27building%27%5D%28poly%3A%2734.056122+-118.256052+34.054233+-118.253149+34.050990+-118.248100+34.053625+-118.245628+34.058656+-118.253434+34.057132+-118.255014+34.056122+-118.256052%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%29%3Bout%3B with timeout=180 2022-01-22 20:13:18 Resolved overpass-api.de to 178.63.48.217 2022-01-22 20:13:28 Downloaded 164.6kB from overpass-api.de 2022-01-22 20:13:28 Saved response to cache file "cache/3063abeb36c57d92b80fe38fd9a33fcf0e02c542.json" 2022-01-22 20:13:28 Got all geometries data within polygon from API in 1 request(s) 2022-01-22 20:13:28 Converting 1430 elements in JSON responses to geometries 2022-01-22 20:13:28 77 geometries created in the dict 2022-01-22 20:13:28 13 untagged geometries removed 2022-01-22 20:13:28 Created r-tree spatial index for 64 geometries 2022-01-22 20:13:28 Identified 64 geometries inside polygon 2022-01-22 20:13:28 0 geometries removed by the polygon filter 2022-01-22 20:13:28 8 geometries removed by the tag filter 2022-01-22 20:13:28 56 geometries in the final GeoDataFrame
Out[29]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Use heremap plotting backend¶
- A HERE developer account, free and available under HERE Developer Portal
- An API key from the HERE Developer Portal
- Export API key into environment variable
HEREMAPS_API_KEY
export HEREMAPS_API_KEY=YOUR-ACTUAL-API-KEY
In [30]:
Copied!
import leafmap.heremap as leafmap
import leafmap.heremap as leafmap
/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenStreetMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Google Maps'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Google Satellite'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Google Terrain'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='BasemapAT.basemap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='BasemapAT.grau'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='BasemapAT.highdpi'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='BasemapAT.orthofoto'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='BasemapAT.overlay'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='BasemapAT.surface'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='BasemapAT.terrain'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.DarkMatter'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.DarkMatterNoLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.DarkMatterOnlyLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.Positron'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.PositronNoLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.PositronOnlyLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.Voyager'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.VoyagerLabelsUnder'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.VoyagerNoLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CartoDB.VoyagerOnlyLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='CyclOSM'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.DeLorme'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.NatGeoWorldMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.OceanBasemap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.WorldGrayCanvas'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.WorldImagery'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.WorldPhysical'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.WorldShadedRelief'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.WorldStreetMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.WorldTerrain'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Esri.WorldTopoMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='FreeMapSK'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Gaode.Normal'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Gaode.Satellite'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='GeoportailFrance.orthos'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='GeoportailFrance.parcels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='GeoportailFrance.plan'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='HikeBike.HikeBike'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='HikeBike.HillShading'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Hydda.Base'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Hydda.Full'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Hydda.RoadsAndLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.americanIndian'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.asian'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.black'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.hispanic'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.income'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.multi'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.nonWhite'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.plurality'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='JusticeMap.white'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='MtbMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.BlueMarble'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.BlueMarble3031'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.BlueMarble3413'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisAquaBands721CR'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisAquaTrueColorCR'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisTerraAOD'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisTerraBands367CR'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisTerraBands721CR'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisTerraChlorophyll'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisTerraLSTDay'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisTerraSnowCover'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ModisTerraTrueColorCR'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ViirsEarthAtNight2012'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NASAGIBS.ViirsTrueColorCR'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='NLS'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OPNVKarte'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OneMapSG.Default'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OneMapSG.Grey'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OneMapSG.LandLot'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OneMapSG.Night'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OneMapSG.Original'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenAIP'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenFireMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenRailwayMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenSeaMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenSnowMap.pistes'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenStreetMap.BZH'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenStreetMap.BlackAndWhite'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenStreetMap.CH'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenStreetMap.DE'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenStreetMap.France'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenStreetMap.HOT'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenStreetMap.Mapnik'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='OpenTopoMap'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='SafeCast'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stadia.AlidadeSmooth'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stadia.AlidadeSmoothDark'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stadia.OSMBright'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stadia.Outdoors'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.Terrain'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TerrainBackground'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TerrainLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.Toner'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TonerBackground'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TonerHybrid'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TonerLabels'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TonerLines'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TonerLite'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TopOSMFeatures'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.TopOSMRelief'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Stamen.Watercolor'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Strava.All'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Strava.Ride'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Strava.Run'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Strava.Water'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='Strava.Winter'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='SwissFederalGeoportal.JourneyThroughTime'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='SwissFederalGeoportal.NationalMapColor'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='SwissFederalGeoportal.NationalMapGrey'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='SwissFederalGeoportal.SWISSIMAGE'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='USGS.USImagery'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='USGS.USImageryTopo'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='USGS.USTopo'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='WaymarkedTrails.cycling'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='WaymarkedTrails.hiking'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='WaymarkedTrails.mtb'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='WaymarkedTrails.riding'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='WaymarkedTrails.skating'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='WaymarkedTrails.slopes'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='nlmaps.grijs'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='nlmaps.luchtfoto'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='nlmaps.pastel'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='nlmaps.standaard'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs) /opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/ipywidgets/widgets/widget.py:412: DeprecationWarning: Passing unrecognized arguments to super(ImageTileProvider).__init__(name='nlmaps.water'). object.__init__() takes exactly one argument (the instance to initialize) This is deprecated in traitlets 4.2.This error will be raised in a future release of traitlets. super(Widget, self).__init__(**kwargs)
Set the API Key.
In [31]:
Copied!
# os.environ["HEREMAPS_API_KEY"] = "12345"
# os.environ["HEREMAPS_API_KEY"] = "12345"
In [32]:
Copied!
api_key = os.environ.get("HEREMAPS_API_KEY") # read api_key from environment variable.
api_key = os.environ.get("HEREMAPS_API_KEY") # read api_key from environment variable.
Create an interactive map
In [33]:
Copied!
m = leafmap.Map(api_key=api_key, center=(40, -100), zoom=4)
m
m = leafmap.Map(api_key=api_key, center=(40, -100), zoom=4)
m
Last update:
2022-01-22